﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Domain.Entity;
using FluentNHibernate.Mapping;


namespace PropertyManagement.Domain.Mapping.FluentHibernate
{
    public class BookingTypeMap : ClassMap<BookingType>
    {
        public BookingTypeMap()
        {
            Table("BookingType");
            Id(x => x.ID).Column("ID").GeneratedBy.Identity();          
            Map(x => x.Type).Column("Type");           
        }
    }
}
